﻿@model IEnumerable<Adminstrator.SanPham>

@{
    ViewBag.Title = "Danh sách sản phẩm";
}


<div class="row-fluid">
    <div class="span12">
        <div class="widget-box">
            <div class="widget-title">
                <span class="icon"><i class="icon-th"></i></span>
                <h5>Danh sách sản phẩm</h5>
            </div>
            <div class="widget-content nopadding">
                <table class="table table-bordered data-table">
                    <thead>
                        <tr>
                            <th>Tên sản Phẩm</th>
                            <th>Hình ảnh</th>
                            <th>Giá</th>
                            <th>Chức Năng</th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach(var item in Model)
                        {
                         <tr class="gradeX">
                            <td>@item.TenSP</td>
                            <td>
                                <img width="50" src="http://longha.oesvietnam.com/images/sanpham/@item.HinhAnh" />
                            </td>
                            <td>@string.Format("{0:0,0 đ}", item.Gia)</td>
                            <td class="center">4
                             
                             
                             </td>
                        </tr>   
                        }
                                                     
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
